<?php
/**
* The grid layout for our index file.
*
* @package fructa
* @since fructa 1.0
*/
?>
<div class="f-grid container">
				<div class="row-fluid f-grid-row">
					<div class="f-grid-img span6">
						<?php
						$the_query = new WP_Query('name=Products-P01');
						if ($the_query->have_posts()) {
							while ($the_query->have_posts()) {
								$the_query->the_post();
								the_content();
							}
						}
						?>
					</div>
					<div class="span6 f-grid-txt f-grid-heigth grid-bg3">
						<?php
						$the_query = new WP_Query('name=Products-P02');
						if ($the_query->have_posts()) {
							while ($the_query->have_posts()) {
								$the_query->the_post();
								the_content();
							}
						}
						?>
					</div>
				</div><!--  f-grid-row -->

				<div class="row-fluid f-grid-row">
					<div class="span6" >
						<div class="f-grid-txt grid-bg1 f-grid-margin">
						<?php
						$the_query = new WP_Query('name=Products-P03');
						if ($the_query->have_posts()) {
							while ($the_query->have_posts()) {
								$the_query->the_post();
								the_content();
							}
						}
						?>
						</div>
						<div class="f-grid-img f-hidePhone">
						<?php
						$the_query = new WP_Query('name=Products-P05');
						if ($the_query->have_posts()) {
							while ($the_query->have_posts()) {
								$the_query->the_post();
								the_content();
							}
						}
						?>
						</div>
					</div><!--  span6 -->
					<div  class="span6">
						<div class="f-grid-img f-grid-margin  f-grid-img-ajust">
						<?php
						$the_query = new WP_Query('name=Products-P04');
						if ($the_query->have_posts()) {
							while ($the_query->have_posts()) {
								$the_query->the_post();
								the_content();
							}
						}
						?>
						</div>
						<div class="f-grid-txt grid-bg2 grid-bg2" style="height:210px;">
						<?php
						$the_query = new WP_Query('name=Products-P06');
						if ($the_query->have_posts()) {
							while ($the_query->have_posts()) {
								$the_query->the_post();
								the_content();
							}
						}
						?>
						</div>
					</div><!--  span6 -->
				</div><!--  f-grid-row -->

			</div><!-- f-grid -->